package com.lemonsun.dao;

import com.lemonsun.pojo.Reply;
import com.lemonsun.pojo.Topic;

import java.util.List;

/**
 * Customer接口文件
 */
public interface CustomerDao {


    //查询所有帖子
    List<Topic> topicListService();

    //添加帖子
     int addTopicInf(Topic topic);

    //查看某个帖子信息
    Topic findAllTopicbyId(Integer id);

     //点击量自增                      
     int add_click_amount_byId(Integer id);

    //查看某个帖子评论信息
    List<Topic> findAllReplyId(Integer id);

    //添加评论
       int addReplyInf(Reply reply);

}
